package com.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.entity.User;

public interface UserDao {
	public List<User> getAll();		//查询所有用户
	public User getUserId(@Param("id") int id);
	//修改用户
	public int getupdate(@Param("id")int id,@Param("name")String name,@Param("loginName")String loginName,@Param("password")String password);
	//新增用户
	public int getInsect(@Param("name")String name,@Param("loginName")String loginName,@Param("password")int password);
	public int getdelete(@Param("id")int id);

}
